local M = {}

---! 获取等级
function M:get_level()
    return self:query("level") or 1
end

---! 设置等级
function M:set_level(level)
    return self:set("level", level)
end

---! 获取阶级
function M:get_rank()
    return self:query("rank") or 1
end

---! 设置阶级
function M:set_rank(rank)
    return self:set("rank", rank)
end

F_CHAR_LEVEL = M
